import { createApp } from 'vue'
import './style.css'
import './flex.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import store from './store'
import router from './router'
import { useThemeStore } from './store/theme'
import 'animate.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(store).use(router).use(ElementPlus).mount('#app')
const themeStore = useThemeStore();
themeStore.initTheme();
